package com.fly.system.model;

import com.fly.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @CLASSNAME: SysUserModel
 * @author: Fly
 * 日期: 2020/6/7  15:59
 * 描述:部门
 **/

@Table(name = "sys_department")
public class SysDepartmentModel extends BaseModel {
    /**
	 * 
	 */
	private static final long serialVersionUID = 6033700981665724626L;

    //角色名称
    @Column(name = "department_name")
    private String departmentName;
    //父id
    @Column(name = "parent_id")
    private String parentId;


    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
